package com.ufun.financegateway.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author BlendLiu
 * @date 2021/4/21 9:47
 */
@Data
public class PayStatusRequestDto {

    @ApiModelProperty(value = "固定为1.0")
    @NotBlank(message = "版本号不能为空")
    private String version;

    @ApiModelProperty(value = "签名")
    @NotBlank(message = "签名不能为空")
    private String sign;

    @ApiModelProperty(value = "签名算法，固定为SHA-256")
    @NotBlank(message = "签名算法不能为空")
    private String signType;

    @ApiModelProperty(value = "系统处理该请求的流水号")
    @NotNull(message = "请求数据不能为空")
    private PayStatusRequestDataDto reqData;


}
